Skip to content

Conversation

@resyntax-ci
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Mar 2, 2025

Resyntax fixed 20 issues in 6 files.

  • Fixed 14 occurrences of let-to-define
  • Fixed 2 occurrences of cond-let-to-cond-define
  • Fixed 1 occurrence of send-chain-to-send+
  • Fixed 1 occurrence of nested-if-to-cond
  • Fixed 1 occurrence of map-to-for
  • Fixed 1 occurrence of hash-ref-with-constant-lambda-to-hash-ref-without-lambda

resyntax-ci bot added 6 commits March 2, 2025 00:09
…t-lambda`

The lambda can be removed from the failure result in this `hash-ref` expression.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
This `map` operation can be replaced with a `for/list` loop.
This method chain made of nested `send` expressions can be written more clearly as a `send+` expression.
This `if`-`else` chain can be converted to a `cond` expression.
@rfindler
Copy link
Member

rfindler commented Mar 2, 2025

Otherwise, looks good to me.

sorawee added a commit to sorawee/fmt that referenced this pull request Mar 2, 2025
sorawee added a commit to sorawee/fmt that referenced this pull request Mar 2, 2025
@sorawee
Copy link
Contributor

sorawee commented Mar 2, 2025

@jackfirth is there a way to re-run this with the latest version of fmt? If not, would you recommend closing the PR and wait for a new PR?

@jackfirth
Copy link
Collaborator

@sorawee There's no mechanism for reruns currently. I suggest just closing it and waiting for the next round.

@sorawee
Copy link
Contributor

sorawee commented Mar 9, 2025

Got it!

@sorawee sorawee closed this Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants